<?php
	$token = '';
	foreach (getallheaders() as $name => $value) {
		if($name == 'token')
			$token = $value;
	}
	$username = $_POST['username'];
	$password = $_POST['password'];
	$gender = $_POST['gender'];
	$file_name = $_FILES['file']['name'];
	$file_size = $_FILES['file']['size'];
	echo "{
		\"token\": $token,
		\"username\": $username,
		\"password\": $password,
		\"gender\": $gender,
		\"file_name\": $file_name,
		\"file_size\": $file_size
	}";
?>